Skip to content

Derive Swift checkout branding from color scheme#405

Merged
tiagocandido merged 1 commit into
mainfrom
tiago/1110-swift-branding
Jul 7, 2026
Merged

Derive Swift checkout branding from color scheme#405
tiagocandido merged 1 commit into
mainfrom
tiago/1110-swift-branding

Conversation

@tiagocandido

@tiagocandido tiagocandido commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What changes are you making?

Adds Swift checkout URL decoration for Checkout Kit visual configuration.

Checkout Kit now appends ck_branding based on the existing colorScheme setting instead of exposing a separate branding configuration option. The app-controlled color schemes (.light, .dark, and .automatic) send app branding, while .web sends shop branding. The configured color scheme continues to be passed through the existing protocol URL builder.

How to test

  • Added URL coverage for derived branding across all color scheme values.
  • Added URL coverage for replacement of caller-supplied branding and color scheme query parameters.
  • Ran Swift API validation.
  • Ran Swift package tests.

Before you merge

Important

  • I've added tests to support my implementation
  • I have read and agree with the Contribution Guidelines
  • I have read and agree with the Code of Conduct
  • I've updated the relevant platform README (platforms/swift/README.md and/or platforms/android/README.md)

Releasing a new Swift version?
  • I have bumped the version in ShopifyCheckoutKit.podspec
  • I have bumped the version in platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift
  • I have updated the SwiftPM/CocoaPods version snippets in platforms/swift/README.md (major version only)
Releasing a new Embedded Checkout Protocol version?
  • I have bumped embeddedCheckoutProtocolAndroid in platforms/android/gradle/libs.versions.toml
  • I have updated protocol/languages/kotlin/embedded-checkout-protocol/api/embedded-checkout-protocol.api if the public API changed
Releasing a new Android version?
  • I have bumped checkoutKitAndroid in platforms/android/gradle/libs.versions.toml
  • I have updated the Gradle/Maven version snippets in platforms/android/README.md

Tip

See the Contributing documentation for the full release process per platform.

@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Jul 6, 2026
@tiagocandido tiagocandido force-pushed the tiago/1110-swift-branding branch from 9338e0f to 111c353 Compare July 6, 2026 12:46
@tiagocandido tiagocandido marked this pull request as ready for review July 6, 2026 13:28
@tiagocandido tiagocandido requested a review from a team as a code owner July 6, 2026 13:28
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 92%
91.85% (327/356) 87.98% (183/208) 100% (86/86)

@tiagocandido tiagocandido force-pushed the tiago/1110-swift-branding branch from 111c353 to d7d6aab Compare July 7, 2026 09:28
@tiagocandido tiagocandido changed the title Add Swift checkout branding configuration Derive Swift checkout branding from color scheme Jul 7, 2026
@tiagocandido tiagocandido force-pushed the tiago/1110-swift-branding branch 2 times, most recently from 15ea559 to 1cfcd1d Compare July 7, 2026 10:03
@tiagocandido tiagocandido force-pushed the tiago/1110-swift-branding branch from 1cfcd1d to f8461e7 Compare July 7, 2026 10:04
@tiagocandido tiagocandido merged commit 1bf0694 into main Jul 7, 2026
31 checks passed
@tiagocandido tiagocandido deleted the tiago/1110-swift-branding branch July 7, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants